home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cookbook USA: Drips, Dressings & Sauces
/
Cookbook USA - Drips, Dressings & Sauces (1997)(MicroMedia).iso
/
ch15
/
frmreade.frm
< prev
next >
Wrap
Text File
|
1996-07-05
|
2KB
|
69 lines
VERSION 2.00
Begin Form frmReader
BackColor = &H00FFFF80&
Caption = "*** Caption Set at RunTime ***"
ClientHeight = 5280
ClientLeft = 825
ClientTop = 660
ClientWidth = 7365
Height = 5685
Icon = FRMREADE.FRX:0000
Left = 765
LinkTopic = "Form4"
ScaleHeight = 5280
ScaleWidth = 7365
Top = 315
Width = 7485
Begin CommandButton cmdExit
BackColor = &H00FF0000&
Caption = "E&xit"
Height = 495
Left = 5880
TabIndex = 1
Top = 4680
Width = 1335
End
Begin TextBox txtTextViewer
Height = 4455
Left = 120
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 0
Top = 120
Width = 7095
End
End
' Simply a large text box, frmReader enables the user to
' view the contents of the help files.
Option Explicit
'--------------------------------------------------------------------------
Sub cmdExit_Click ()
MakeMouseCursorHourglass
txtTextViewer = ""
frmReadme.Show
Hide
MakeMouseCursorDefault
End Sub
'--------------------------------------------------------------------------
Sub Form_QueryUnload (Cancel As Integer, UnloadMode As Integer)
' centering the form
Me.Left = (screen.Width - Me.Width) / 2
Me.Top = Abs((screen.Height - Me.Height) / 2)
If UnloadMode = 0 Then Call cmdExit_Click
End Sub
'--------------------------------------------------------------------------
Sub txtTextViewer_GotFocus ()
cmdExit.SetFocus
End Sub